#ifndef   __IIC_H
#define   __IIC_H
#define RCC_ICC_PORT RCC_APB2Periph_GPIOB
#define SDA_PIN GPIO_Pin_7
#define SCL_PIN GPIO_Pin_6
#define GPIO_IIC_PORT GPIOB
#include "stm32f10x.h" 
void IIC_Init(void);
void IIC_SendByte(u8 data);
void IIC_Write(u8 addr,u8 *data,u8 len);

#endif
